package com.downguys.tool.common;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.OutputStream;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadMXBean;

/**
 * @author mingmin.zhou(弄死熊猫)
 * @mail 714387891@qq.com
 * @date 2016/12/30
 */
public class JVMUtil {

    private static final Logger LOGGER = LoggerFactory.getLogger(JVMUtil.class);

    private static ThreadMXBean threadMXBean = ManagementFactory.getThreadMXBean();

    public static void jstack(OutputStream stream) throws Exception {
        // TODO: 2016/12/30  
    }

    public static void dumpJstack(final String jvmPath) {
        // TODO: 2016/12/30
    }

}
